package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"zk3/controllers"
)

func init() {
	beego.Router("/video/list", &controllers.VideoController{}, "GET:List")
	beego.Router("/video/add", &controllers.VideoController{}, "POST:Add")
	beego.Router("/video/show", &controllers.VideoController{}, "GET:Show")
	beego.Router("/video/del", &controllers.VideoController{}, "POST:Del")
	beego.Router("/video/updating", &controllers.VideoController{}, "POST:Updating")
	beego.Router("/video/collect", &controllers.VideoController{}, "POST:Collect")
	beego.Router("/video/onload", &controllers.VideoController{}, "POST:Onload")

}
